package org.inspursc.s0517.health.common.dao;

import org.inspursc.s0517.health.common.entity.SysPermissionGroup;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SysPermissionGroupDao extends JpaRepository<SysPermissionGroup, Integer> {
    List<SysPermissionGroup> findBySysGroupId(Integer groupId);

    void deleteBySysGroupId(Integer groupId);
}
